﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard.ContentManagement;
using Orchard.ContentManagement.FieldStorage;

namespace Orchard.CounterField.Fields
{
    public class CounterField : ContentField 
    {
        public string StartValue
        {
            get { return Storage.Get<string>("StartValue"); }
            set { Storage.Set("StartValue", value); }
        }

        public string StopValue
        {
            get { return Storage.Get<string>("StopValue"); }
            set { Storage.Set("StopValue", value); }
        }

        public bool PickStartDate
        {
            get { return Storage.Get<bool>("PickStartDate"); }
            set { Storage.Set("PickStartDate", value); }
        }

        public bool PickStopDate
        {
            get { return Storage.Get<bool>("PickStopDate"); }
            set { Storage.Set("PickStopDate", value); }
        }

        public string Direction
        {
            get { return Storage.Get<string>("Direction"); }
            set { Storage.Set("Direction", value); }
        }

    }


}